package org.jeecg.modules.bicycle.order.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class SwitchLockRes {

    @ApiModelProperty(value = "开锁类型")
    private String useType;

    @ApiModelProperty(value = "车辆编号")
    private String vehicleCode;

    @ApiModelProperty(value = "借车网点名称")
    private String pickStationName;

    @ApiModelProperty(value = "借车车桩编号")
    private String pickPileCode;

    @Excel(name = "借车时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date pickTime;

    @ApiModelProperty(value = "还车网点名称")
    private String parkStationName;

    @ApiModelProperty(value = "还车车桩编号")
    private String parkPileCode;

    @Excel(name = "还车时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date parkTime;
}
